package org.smarthings.things.automation.rest.resources;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "ruleTrigger")
@XmlRootElement(name = "ruleTrigger")
public class TriggerResource {

	private String expression;

	@XmlElement(name = "expression", required = true)
	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

}
